package com.jgy.threadput.controller;

import cn.hutool.json.XML;
import com.jgy.threadput.service.ThreadGteService;
import com.jgy.utils.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author 姜光远
 * @date 2023/7/27 15:34
 */
@RestController
public class ThreadInsertController {

    @Resource
    private ThreadGteService gteService;

    @GetMapping("/insert")
    public R insert(){
      Object res = gteService.insert();
      return R.ok(res);
    }
}
